Feature: Crear un post, publicarlo, eliminarlo, validar que ya no aparece en la lista de publicados
Scenarios
|
Chart |
Status Progress |
||||
|---|---|---|---|---|---|
|
1
|
|
||||
| Total duration: | |||||
| 1m 58.900s |
Scenario: Como autor creo un post lo publico, y lo elimino, valido que ya no aparece en la lista de publicados
Before
0m 2.988s
Given
I go to page "<HOST>" "ghost/#/signin"
0m 8.374s
And
I sign in with "<USERNAME>" and "<PASSWORD>"
0m 3.751s
When
I click new post
0m 3.565s
And
I set post attributes title "$number_1" and body "$string_1"
0m 3.133s
And
I publish the post
0m 2.989s
And
I go to page "<HOST>" "ghost/#/posts?type=published"
0m 7.792s
And
I Click a post with title "$$number_1"
0m 4.823s
And
I press settings button
0m 2.862s
And
I click delete from settings
0m 7.785s
And
I delete post
0m 7.809s
Then
I validate the post with "$number_1" not exists
0m 3.015s
After
0m 0.014s
Screenshots
Before
NO IMAGE AVAILABLE
Given
I go to page "<HOST>" "ghost/#/signin"
And
I sign in with "<USERNAME>" and "<PASSWORD>"
When
I click new post
And
I set post attributes title "$number_1" and body "$string_1"
And
I publish the post
And
I go to page "<HOST>" "ghost/#/posts?type=published"
And
I Click a post with title "$$number_1"
And
I press settings button
And
I click delete from settings
And
I delete post
Then
I validate the post with "$number_1" not exists
After
NO IMAGE AVAILABLE